package com.one.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author: tzy
 * @create: 2022/1/4
 * @FileName: WechatPayConfig
 * @Description:
 */
@Data
@Component
@ConfigurationProperties(prefix = "wechat.pay")
public class WechatPayConfig {
    /**
     * 应用id
     */
    private String appId;
    /**
     * 商户id
     */
    private String mchId;
    /**
     * 商户key
     */
    private String mchKey;
    /**
     * 统一下单地址
     */
    private String orderUrl;
    /**
     * 统一回调地址
     */
    private String notifyUrl;
}
